clear
echo ----------------------------------------------------------------------------------------------------
echo Starting Change Install_Form to ali
sed -i 's_downloads.openwrt.org_mirrors.aliyun.com/openwrt_' /etc/opkg/distfeeds.conf
echo Updateing Package lists...
opkg update
echo ----------------------------------------------------------------------------------------------------
echo Alpha theme is really a good theme
echo Starting Geting the Config and Theme
echo ----------------------------------------------------------------------------------------------------
echo Install Depends...
opkg upgrade luci
opkg upgrade luci-base
opkg install luci-compat
opkg install luci-i18n-base-zh-cn
echo Depend Upgrade and Install Command Execute Success
echo ----------------------------------------------------------------------------------------------------
echo Getting Theme package
wget https://gitee.com/caiji_top/wrt_sor/raw/master/Packages/23.05.5/luci-app-alpha-config.ipk
wget https://gitee.com/caiji_top/wrt_sor/raw/master/Packages/23.05.5/luci-theme-alpha.ipk
echo ----------------------------------------------------------------------------------------------------
echo Install and Configure the Theme
opkg install luci-app-alpha-config.ipk
opkg install luci-theme-alpha.ipk
rm /usr/lib/opkg/info/luci-theme-alpha.postinst
opkg install luci-theme-alpha.ipk
echo ----------------------------------------------------------------------------------------------------
echo Clean the residue now ...
rm luci-app-alpha-config.ipk
rm luci-theme-alpha.ipk
rm ./install_theme_alpha.sh
echo ----------------------------------------------------------------------------------------------------
echo Theme Install Command Execute Success
sleep 5s
clear